package com.book.book.dao;

import com.book.book.domain.ApplyDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 图书申请表
 * @author siyuan
 * @email 894266364.com
 * @date 2018-01-27 10:53:23
 */
@Mapper
public interface ApplyDao {

	ApplyDO get(Integer id);

	List<ApplyDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(ApplyDO apply);

	int update(ApplyDO apply);

	int remove(Integer id);

	int batchRemove(Integer[] ids);

	ApplyDO getApplyDOById(Integer id);

    List<ApplyDO> listAllByUserId(Map<String, Object> map);
}
